/*
 * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.inspur.edp.sgf.core.common;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * 功能描述:Eapi操作配置
 *
 * @ClassName: EapiOpConfig
 * @Author: Fynn Qi
 * @Date: 2020/12/11 17:13
 * @Version: V1.0
 */
public class EapiOpConfig {

    public EapiOpConfig(){
        this.bizOpIdList=new ArrayList<>();
        this.bizOpIdMap=new HashMap<>();
    }

    private String serviceId;

    /**
     * 统一资源定位符
     */
    private String uri;

    /**
     * Http方法
     */
    private String httpMethod;

    /**
     * 基路径
     */
    private String basePath;

    /**
     * 子路径
     */
    private String template;

    /**
     * 是否启用
     */
    private Boolean enable;

    /**
     * 业务操作ID集合
     */
    private List<String> bizOpIdList;

    private HashMap<String,List<String>> bizOpIdMap;

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public List<String> getBizOpIdList() {
        return bizOpIdList;
    }

    public void setBizOpIdList(List<String> bizOpIdList) {
        this.bizOpIdList = bizOpIdList;
    }

    public String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        this.basePath = basePath;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public HashMap<String, List<String>> getBizOpIdMap() {
        return bizOpIdMap;
    }

    public void setBizOpIdMap(HashMap<String, List<String>> bizOpIdMap) {
        this.bizOpIdMap = bizOpIdMap;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

}
